home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXT Education Software Sampler 1992 Fall
/
NeXT Education Software Sampler 1992 Fall.iso
/
ComputerScience
/
MethodsInAction
/
MethodsInAction.app
/
Example3.m
< prev
next >
Wrap
Text File
|
1992-08-19
|
454b
|
25 lines
/* Multiplier.m By Jeff Froyd. Generated by Interface Builder */
#import <appkit/TextField.h>
#import "Example3.h"
@implementation Example3
- multiplierChanged:sender
{
multiplier = [sender doubleValue];
[productField setDoubleValue:(multiplicand * multiplier)];
return self;
}
- multiplicandChanged:sender
{
multiplicand = [sender doubleValue];
[productField setDoubleValue:(multiplicand * multiplier)];
return self;
}
@end